package at.ac.univie.bi.transformation.model.input;


public class Patient extends AbstractInputEntity{
	int oldid;
	String firstname;
	String lastname;
	int birthdate;
	char sex;
	
	public int getOldid() {
		return oldid;
	}
	public void setOldid(int oldid) {
		this.oldid = oldid;
	}
	public String getFirstname() {
		return firstname;
	}
	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}
	public String getLastname() {
		return lastname;
	}
	public void setLastname(String lastname) {
		this.lastname = lastname;
	}
	public int getBirthdate() {
		return birthdate;
	}
	public void setBirthdate(int birthdate) {
		this.birthdate = birthdate;
	}
	public char getSex() {
		return sex;
	}
	public void setSex(char sex) {
		this.sex = sex;
	}
	public Boolean sexIsSet(){
		return (this.sex != 0);
	} 
	
	public Boolean oldidIsSet(){
		return (this.oldid != 0);
	}
}
